package com.xy.learn.springlearn.controller;

import jakarta.websocket.server.PathParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("")
public class StudentController {

    @GetMapping("/regStudent/{name}")
    public String student(@PathParam("name") String name) {
        return "student";
    }
}
